#include "Runtime/Logic/EngineLoop.h"
#include "Runtime/Platform/Windows/WindowsApplication.h"
#include "Runtime/Platform/Windows/WindowsPlatformMisc.h"
#if _DEBUG
#pragma comment( linker, "/subsystem:\"console\" /entry:\"WinMainCRTStartup\"")
#else
#endif
bool gIsRequestingExit=false;
INT WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nShowCmd) {
    Alice::PlatformMisc::mInstance=hInstance;
    EngineInit();
    while(!gIsRequestingExit)
    {
        EngineTick();
    }
    return 0;
}